package person;

import java.io.*;
import java.util.*;

import exerciseRecord.ExerciseRecorder;

public class PersonRecorder implements Serializable {
	private Person person;
	private ArrayList<PersonInfo> personInfoArray;
	private ArrayList<ExerciseRecorder> exerciseRecorderArray;

	public PersonRecorder() {
		personInfoArray = new ArrayList<>();
		exerciseRecorderArray = new ArrayList<>();
	}

	public Person getPerson() {
		return person;
	}

	public void setPerson(Person person) {
		this.person = person;
	}

	public ArrayList<PersonInfo> getPersonInfoArray() {
		return personInfoArray;
	}

	public void setPersonInfoArray(ArrayList<PersonInfo> personInfoArray) {
		this.personInfoArray = personInfoArray;
	}

	public void addPersonInfo(PersonInfo personInfo) {
		personInfoArray.add(personInfo);
	}

	public ArrayList<ExerciseRecorder> getExerciseRecorderArray() {
		return exerciseRecorderArray;
	}

	public void setExerciseRecorderArray(ArrayList<ExerciseRecorder> exerciseRecorderArray) {
		this.exerciseRecorderArray = exerciseRecorderArray;
	}
	
	

}
